
#include <Liberty3D/Library/Project.h>

#include <Liberty3D/Library/AssetImporter.h>
#include <Liberty3D/Library/IAssetDepot.h>
#include <Liberty3D/Library/Mutex/Local.h>

using namespace Liberty::Engine;
using namespace Liberty::Library;
using namespace Liberty::Library::Mutex::Impl::Local;

Project::Project(const std::string& folder, bool create) : _mutex(new SharedMutex()) {
    _depot = IAssetDepot::assetDepotForFolder(folder, create);
}

Project::~Project() {
}

std::string Project::pathForUuid(const Liberty::Engine::Uuid& uuid) const {
    return _depot->pathForUuid(uuid);
}

Liberty::Engine::Uuid Project::uuidForPath(const std::string& fileName) const {
    return _depot->uuidForPath(fileName);
}

void Project::save() {
}
